package max.tutorial.tynamo.quickstart.services;

import org.apache.tapestry5.SymbolConstants;
import org.apache.tapestry5.ioc.MappedConfiguration;
import org.apache.tapestry5.ioc.annotations.SubModule;
import org.tynamo.services.TynamoCoreModule;

@SubModule(value = {TynamoCoreModule.class})
public class AppModule
{

	public static void contributeApplicationDefaults(MappedConfiguration<String, String> configuration)
	{
		configuration.add(SymbolConstants.SUPPORTED_LOCALES, "en, es_AR, pt");

		configuration.add(SymbolConstants.PRODUCTION_MODE, "false");

		configuration.add(SymbolConstants.APPLICATION_VERSION, "1.0-SNAPSHOT");

	}

}
